<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>权限管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="description" content="This is my page">
	<link rel="shortcut icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>style/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>style/themes/icon.css">
	<script type="text/javascript" src="<%=basePath%>javascript/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/pub.js"></script>
	<script type="text/javascript" src="<%=basePath%>pages/user/js/userRight.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/easyui_pub.js"></script>
	<script>window.onerror=hide_error_message;function hide_error_message(){return true;}</script>
	
	<style>
		body,html{
			padding:0;
			margin:0;
			height:100%;
		}  
		
		#layout{
			height: 100%;
			width:100%;
			border-top: none;
			border-bottom: none;
		}
   </style>
  </head>
  <body>
  <div class="easyui-layout" fit="true" id="layout" cellspacing="10"> 
    <div class="easyui-layout" region="center" border="false" style="width: 100%; height: 100%;height: 100%;" cellspacing="10"> 
        <div region="north" style="width:500px;height: 30px;border:0px;background-image:   url(<%=basePath%>images/sav_bg.gif); background-repeat:   repeat;">
		<a id="saveUserRight" class="easyui-linkbutton" iconCls="icon-save" onClick="saveUserRight()"  plain="true" >保存</a>
        <a id="Resfh" class="easyui-linkbutton" iconCls="icon-reload" onClick="Resfh()"  plain="true">刷新</a>
	    </div>
		<div region="west" icon="icon-reload" title="用户列表" split="true" style="width:210px;height: 100%;">
		    <table>
		    <tr><td><ul id="userTree" /></ul></td></tr>
		    </table>
		</div>
		<div id="right2" region="center" title="功能权限" style="background:#fafafa;overflow:hidden;height: 100%;position: relative;">
		    <table>
		    <tr><td>
		    <ul id="rightTree" />
		    </td></tr>
		    </table>
		</div>
	</div>
	</div>
  </body>
</html>
